<?php

namespace App\Models;

use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

use Faker\Generator as Faker;


class User extends Authenticatable
{
    use HasFactory, Notifiable;

    //添加模型关联表
    protected $table = "user";


    protected $primaryKey = "userid";


    /**
     * The attributes that are mass assignable.
     *  允许赔操作的字段
     * @var array
     */


    //全部操作
    public $guarded =[];




    //禁用时间戳
    public  $timestamps = false;
}
